package net.thxjj.mobileServer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.data.mongodb.config.EnableMongoAuditing;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync
@MapperScan("net.thxjj.mobileServer.dao")
@EnableMongoAuditing
@ServletComponentScan
@SpringBootApplication
public class MobileServerApplication extends SpringBootServletInitializer implements CommandLineRunner {



	public static void main(String[] args) {
		SpringApplication.run(MobileServerApplication.class, args);
	}


	@Override
	public void run(String... args) throws Exception {

	}
}
